Skip to content

fix: correct namespace plural typo in workspace warning#767

Open
dajiaohuang wants to merge 1 commit into
Dyalog:masterfrom
dajiaohuang:fix/766-namespace-typo
Open

fix: correct namespace plural typo in workspace warning#767
dajiaohuang wants to merge 1 commit into
Dyalog:masterfrom
dajiaohuang:fix/766-namespace-typo

Conversation

@dajiaohuang

Copy link
Copy Markdown

Fix doubled-"s" typo in the workspace load warning message.

Before: 2 namespacess linked in this workspace
After: 2 namespaces linked in this workspace

The base string "namespaces" had a hardcoded trailing "s", and the plural marker added another "s", producing "namespacess". Changed to "namespace" so the plural marker works correctly: "1 namespace" / "2 namespaces".

Fixes #766

Change ' namespaces' to ' namespace' so the plural marker 's '
produces 'namespace' (singular) or 'namespaces' (plural) instead
of 'namespacess' (doubled s).

Fixes Dyalog#766
dajiaohuang added a commit to dajiaohuang/RepoStew_skills that referenced this pull request Jun 19, 2026
dajiaohuang added a commit to dajiaohuang/RepoStew_skills that referenced this pull request Jun 20, 2026
:EndIf
:ElseIf 0≠≢wslinks
msg←(⍕≢wslinks),' namespaces',('s '/⍨1≠≢wslinks),' linked in this workspace: '
msg←(⍕≢wslinks),' namespace',('s '/⍨1≠≢wslinks),'linked in this workspace: '

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For 1, this gives 1 namespacelinked in this workspace:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reestablishing a saved WS link produces poor warning message

2 participants